-- GENERATED SPELL FOR [Pure Spawn of Hydross] --


function spell0_22035(pUnit, Event) --@Elemental Spawn-in,Self--
pUnit:FullCastSpellOnTarget(25035,pUnit)
pUnit:RegisterEvent('Sorts_22035', 616, 1)
end

function Sorts_22035(pUnit, Event)
local choix_sorts_22035 = math.random(0, 0)
if choix_sorts_22035 == 0 then
pUnit:RegisterEvent('spell0_22035', 1, 1)
end
end

function mob22035_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_22035', math.random(1500, 3000), 1)
end

function mob22035_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22035_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22035_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(22035, 1, 'mob22035_Action')
RegisterUnitEvent(22035, 2, 'mob22035_Leave')
RegisterUnitEvent(22035, 3, 'mob22035_Kill')
RegisterUnitEvent(22035, 4, 'mob22035_Die')
